Cloud-Native Observability with OpenTelemetry by Alex Boten

Cloud-Native Observability with OpenTelemetry by Alex Boten

Author:Alex Boten
Language: eng
Format: epub, pdf
Publisher: Packt Publishing Pvt Ltd
Published: 2022-04-18T00:00:00+00:00


Request duration

The next metric to produce is request duration. The goal of understanding the request duration across a system is to be able to answer questions such as the following:

How long did the request take?

How much time did each service add to the total duration of the request?

What is the experience for users?

Request duration is an interesting metric to understand the health of a service and can often be the symptom of an underlying issue. Collecting the duration is best done via a histogram, which can provide us with the organization and visualization necessary to understand the distribution across many requests. In the following example, we are interested in measuring the duration of operations within each service. We are also interested in capturing the duration of upstream requests and the network latency costs across each service in our distributed application. Figure 5.10 shows how this will be measured:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.